package com.test.bean;

import com.core.db.annotation.Column;
import com.core.db.annotation.Table;

@Table( "websites" )
public class Website
{
	@Column(value="id",primary=true)
	private int id;
	
	@Column("name")
	private String name;
	
	@Column("url")
	private String url;

	public int getId()
	{
		return id;
	}

	public void setId( int id )
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName( String name )
	{
		this.name = name;
	}

	public String getUrl()
	{
		return url;
	}

	public void setUrl( String url )
	{
		this.url = url;
	}

	@Override
	public String toString()
	{
		return "Website [id=" + id + ", name=" + name + ", url=" + url + "]";
	}
}
